﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using EFCore.Sharding.DataAnnotations;
using EFCore.Sharding;

namespace Treca.WebEx.Entity
{
    /// <summary>
    /// 短信记录
    /// </summary>
    [Table("d_sms")]
    [LogicDelete("StatusFlag", "9")]
    public class d_sms:BaseEntity
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 验证码
        /// </summary>
        public String code { get; set; }

        /// <summary>
        /// 验证码类型
        /// </summary>
        public String type { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public String phone { get; set; }

        /// <summary>
        /// 阿里云回执
        /// </summary>
        public String BizId { get; set; }

        /// <summary>
        /// 生效时间
        /// </summary>
        public DateTime? starttime { get; set; }

        /// <summary>
        /// 失效时间
        /// </summary>
        public DateTime? endtime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        /// 使用状态
        /// </summary>
        public String StatusFlag { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreateOperator { get; set; }

        /// <summary>
        /// 修改日期
        /// </summary>
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public String ModifyOperator { get; set; }

    }
}